#include <iostream>
#include <conio.h>
#include <string>

int main()
{
	double number1 = 0.0,
		   number2 = 0.0,
		   const grad = 100,
		   result = 0.0 ;
	char operation = '+';

	std::cout << "number1 = ";
	std::cin >> number1;
	std::cout << "opeation = ";
	std::cin >> operation;
	std::cout << "number2 = ";
	std::cin >> number2;

	switch(operation){
		case '+':
			result = number1 + number2 ;
			std::cout << number1 << " " << operation << " " << number2 << " = " << result << std::endl;
			break;
		case '-':
			result = number1 - number2 ;
			std::cout << number1 << " " << operation << " " << number2 << " = " << result << std::endl;
			break;
		case '/':
			result = number1 / number2 ;
			std::cout << number1 << " " << operation << " " << number2 << " = " << result << std::endl;
			break;
		case '*':
			result = number1 * number2 ;
			std::cout << number1 << " " << operation << " " << number2 << " = " << result << std::endl;
			break;
		case '%' :
			result = (number1 * number2) / grad;
			std::cout << number1 << " " << operation << " " << number2 << " = " << result << std::endl;
			break;
		default:
			std::cout << "your inputed operation not found" << std::endl;
			break;
	}	

	getch();
	return 0;
}